<?php
//session_start() 启动会话
//$_SESSION 存储和取回session
//unset() 或 session_destroy() 函数   destroy将所有存储的session全部销毁
session_start();

if(isset($_SESSION['views']))
{
    $_SESSION['views']=$_SESSION['views']+1;
}
else
{
    $_SESSION['views']=1;
}
echo "浏览量：". $_SESSION['views'];
?>